package service.impl;

import entity.Useraddress;
import mapper.UseraddressMapper;
import org.springframework.beans.factory.annotation.Autowired;
import service.Useraddressseervice;

public class UseraddressServiceimpl implements Useraddressseervice {
    @Autowired
    UseraddressMapper useraddressMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return useraddressMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Useraddress record) {
        return useraddressMapper.insert(record);
    }

    @Override
    public int insertSelective(Useraddress record) {
        return useraddressMapper.insertSelective(record);
    }

    @Override
    public Useraddress selectByPrimaryKey(Integer id) {
        return useraddressMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Useraddress record) {
        return useraddressMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Useraddress record) {
        return useraddressMapper.updateByPrimaryKey(record);
    }
}
